<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			body{
				background-color: darkgrey; /*设置背景颜色*/
				background-image: url(img/car001.PNG);  /*图片不够元素大小，默认平铺*/
				background-repeat: no-repeat; /* 设置图片是否重复平铺，no-repeat   repeat(默认)  repeat-x: 横坐标重复  repeat-y: 纵坐标重复  */
			/*	background-position: 100px 10px;*/ /* 参数1  x坐标 （离左边框的距离）    参数2  y坐标（离顶部边框距离）*/
				background-position: top center;
				background-attachment: scroll;  /*  scroll  图片固定   fixed ： 随着其他部分的滚动而滚动*/
				 
			}
			.mydiv1{
				border: 1px solid red;
				width: 70px;
				height: 38px;
				background-image: url(img/car001.PNG);
				background-position: -5px -170px;    /*218-53 */   /*定位*/
				 
			}
		</style>
	</head>
	<body>
		
		<div class="mydiv1"></div>
		<table >
			<tr>
				<td>aaa</td>
				<td>bbb</td>
			</tr>
			<tr>
				<td>ccc</td>
				<td>ddd</td>
			</tr>
		</table>
		 <div>
		 	<img src="img/bg.jpg" />
		 </div>
		 <div>
		 	<img src="img/bg.jpg" />
		 </div>
		 <div>
		 	<img src="img/bg.jpg" />
		 </div>
		 <div>
		 	<img src="img/bg.jpg" />
		 </div>
		 <div>
		 	<img src="img/bg.jpg" />
		 </div>
		 <div>
		 	<img src="img/bg.jpg" />
		 </div>
	</body>
</html>
